<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        a {
            display: inline-block;
            width: 100%;
            height: 100%;
        }

        #wrap {
            width: 600px;
            height: 600px;
            background-color: green;
            position: relative;
        }

        #div1 {
            width: 300px;
            height: 600px;
            position: absolute;
            background-color: greenyellow;
            -webkit-clip-path: polygon(100% 0, 0 0, 0 100%)
        }

        #div2 {
            width: 150px;
            height: 150px;
            background-color: blue;
            position: absolute;
            left: 225px;
            -webkit-clip-path: polygon(50% 0, 0 100%, 100% 100%)
        }

        #div3 {
            width: 300px;
            height: 600px;
            position: absolute;
            background-color: black;
            right: 0;
            -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%)
        }
    </style>
</head>

<body>
<div id="wrap">
    <div id="div1">
        <a href="https://www.baidu.com/"></a>
    </div>
    <div id="div2">
        <a href="http://www.qq.com/"></a>
    </div>
    <div id="div3">
    </div>
</div>

</body>

</html>
